<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:auth="">
<th:block th:fragment="top">
    <auth:data uri="/personal/profile"/>
    <!-- 顶部开始 -->
    <div class="container">
        <div class="logo">
            <a href="/">Fish脚手架</a></div>
        <div class="left_open">
            <a><i title="展开左侧栏" class="iconfont">&#xe699;</i></a>
        </div>
        <ul class="layui-nav left fast-add" lay-filter="">
        </ul>

        <ul class="layui-nav right" lay-filter="">
            <li class="layui-nav-item">
                <a href="javascript:;" th:text="${#authentication.principal.systemUser.name}">用户名</a>
                <dl class="layui-nav-child">
                    <!-- 二级菜单 -->
                    <dd>
                        <a onclick="xadmin.open('个人信息','/personal/profile')">个人信息</a></dd>
                    <dd>
                        <a th:href="@{/logout}">退出</a></dd>
                </dl>
            </li>
        </ul>
    </div>
    <!-- 顶部结束 -->
</th:block>

</html>